package site.jlopen.controller.api;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import site.jlopen.entity.BaseResponse;

@RestController
@RequestMapping(value="/api/result")
public class ApiResultController {
	private final Logger logger = LoggerFactory.getLogger(getClass());
	
	@PostMapping(value = "/info" )
	public BaseResponse<String> info() {
		logger.info("结果接口调用");
		return new BaseResponse<String>().success("成功");
	}
	
	@PostMapping(value = "/list" )
	public BaseResponse<String> list() {
		logger.info("结果接口调用");
		return new BaseResponse<String>().success("成功");
	}
}